DiagramLite Programmer's Guide
LinkLabel.PointAlongLength Method
See Also
 





Returns a point lying on a polyline that is positioned at a relative position along the polyline's length.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

protected Point PointAlongLength (
    double lengthFactor,
    List<Point> segments
)

Visual Basic  Copy Code

Protected Function PointAlongLength( _
    lengthFactor As Double, _
    segments As List(Of Point) _
) As Point

 Parameters

lengthFactor

A value from 0 to 1 specifying a portion of link's length.

segments

A list of points specifying the polyline segments.

 Return Value

A Point instance.

 See Also

LinkLabel Members
LinkLabel Class
MindFusion.Diagramming Namespace